#
# Makefile for 'client'.
#
# Type 'make' or 'make client' to create the executable.
# Type 'make clean' to delete all temporaries.
#

CC = gcc

# build target specs
CFLAGS = -I../includes -L../includes -I. -L. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -L/usr/lib -lSDL
OUT_DIR = release_build
LIBS = -lavformat -lavcodec -lavutil -lswscale -lavdevice -lpthread

# first target entry is the target invoked when typing 'make'
default: client

client: client_android.c
	$(CC) client_android.c -o client $(CFLAGS) $(LIBS)

clean:
	rm -f client

